package com.lagou.edu.pojo;

import com.lagou.edu.annotation.Service;

@Service("user")
public class User {
    private String userName = "zhangsi";
    private Integer age = 12;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                '}';
    }
}
